home *** CD-ROM | disk | FTP | other *** search
- Path: newshost.cyberramp.net!news
- From: sinan@cyberramp.net (John Noland)
- Newsgroups: comp.lang.c
- Subject: Re: Passing Pointer to DLL, HELP!
- Date: 23 Mar 1996 13:57:24 GMT
- Organization: Prose Software
- Message-ID: <4j1004$klp@newshost.cyberramp.net>
- References: <4iqoa3$mli@lastactionhero.rs.itd.umich.edu>
- NNTP-Posting-Host: ramp3-13.cyberramp.net
- X-Newsreader: WinVN 0.99.5
-
- In article <4iqoa3$mli@lastactionhero.rs.itd.umich.edu>, anderson@cedar.cic.net says...
- >
- >My question is actually how to correctly passing a pointer to a DLL in VC++,
- > void func(float* num,....)
- >just wouldn't work for me. E-mail response prefered. Thanks.
-
- Is this function taking variable number of parameters or are you not showing
- the other parameters for brevity? If it is taking a variable number of
- arguments, then the problem is probably with the macros involved. They
- count on SS == DS, which isn't true in a DLL. Also, the function needs
- to be declared far.
-
- -John
-
-